[class^='icon-'] {
  background: url(../images/sprites.png) no-repeat;
  background-size: 200px 200px;
}

.box {
  width: 100%;
  max-width: 640px;
  min-width: 300px;
  height: 1500px;
  margin: 0 auto;
}

/*头部*/
.header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  .header-in {
    width: 100%;
    max-width: 640px;
    min-width: 300px;
    background-color: rgba(201, 21, 35, 0);
    margin: 0 auto;
    padding-left: 75px;
    padding-right: 50px;
    position: relative;

    .icon-logo {
      position: absolute;
      width: 60px;
      height: 60px;
      top: 2px;
      left: 10px;
      background-position: 0 -103px;
    }
    form {
      width: 100%;
      height: 40px;
      padding-top: 5px;
      position: relative;
      .icon-sou {
        position: absolute;
        width: 20px;
        height: 20px;
        left: 5px;
        top: 10px;
        background-position: -60px -109px;
      }
      input {
        width: 100%;
        height: 30px;
        border-radius: 15px;
        padding-left: 30px;
      }

    }
    .dengLu {
      position: absolute;
      top: 0;
      right: 0;
      width: 50px;
      height: 40px;
      color: #ccc;
      text-align: center;
      line-height: 40px;
    }
  }
}

/*banner*/
.banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  /*图片*/
  ul {
    width: 1000%;
    transform: translateX(-10%);
    li {
      float: left;
      width: 10%;
      img {
        width: 100%;
        display: block;
      }
    }
  }
  /*小圆点*/
  ol {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translate(-50%);
    li {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      margin-right: 8px;
      border: 1px solid #fff;
      float: left;
    }
    .current {
      background-color: #fff;
      width: 8px;
      height: 8px;
    }
  }
}

/*nav*/
.nav {
  padding: 10px 0;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  li {
    width: 25%;
    float: left;
    text-align: center;
    img {
      width: 50px;
    }
    p {
      margin: 10px 0;
    }
  }
}

/*商品*/
.jd-section {
  padding: 10px;
  /*第一栏*/
  .section {
    background-color: #fff;
    margin-top: 20px;
    box-shadow: 0 05px 1px #ccc;
    display: block;
    .section-top {
      border-bottom: none;
      padding: 8px 8px 0 8px;
      .sk {
        width: 16px;
        height: 20px;
        background: url(../images/seckill-icon.png) no-repeat;
        background-size: 16px 20px;
      }
      .sb {
        margin-left: 10px;
        margin-right: 10px;
      }
      .shijian {
        padding-top: 2px;
        span:nth-child(n) {
          float: left;
          width: 15px;
          height: 15px;
          line-height: 15px;
          background-color: #000;
          color: #fff;
          margin-right: 5px;
          text-align: center;
        }
        span:nth-child(3n) {
          background-color: #fff;
          color: #000;
          width: 8px;
          height: 15px;
          line-height: 15px;
          text-align: center;
        }

      }
      a{
        width: 40px;
      }
    }
    .section-bottom {
      padding-bottom: 10px;
      li {
        float: left;
        width: 33.33%;
        text-align: center;
        a {
          display: block;
          width: 100%;
          img {
            width: 64%;
            display: inline-block;
          }
        }
        p:nth-child(2) {
          color: red;

        }
        p:nth-child(3) {
          text-decoration: line-through;
        }
      }
    }
    /*第二栏*/

    .title {
      height: 32px;
      border-bottom: 1px solid #ccc;
      h3 {
        line-height: 32px;
        font-weight: normal;
        font-size: 14px;
        padding-left: 20px;
        position: relative;
        &::before {
          content: '';
          position: absolute;
          width: 3px;
          height: 15px;
          background-color: #d8505c;
          left: 9px;
          top: 7px;
        }
      }

    }

    a {
      width: 50%;
      img {
        display: block;
        width: 100%;
      }

    }

  }
}

/*底部*/
.footer{
  position: fixed;
  left: 0;
  bottom:0;
  width: 100%;
  background-color: #fff;
  height: 44px;
  li{
    float:left;
    width:25%;
    a{
      display: block;
      height: 44px;
      img{
        width: 57px;
        height: 44px;
        display: block;
        margin: 0 auto;
      }
    }
  }
}